using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using PixelCrushers.DialogueSystem;
using XFGameFramework;

public class DSInit : MonoBehaviour
{
    private TimeController timeController;
    private PlayerController playerController;
    private void Start()
    {
        // Module module = ModuleManager.GetModule("MainModule");
        // timeController = module.LoadController<TimeController>();
        // playerController = module.LoadController<PlayerController>();
        //初始化：将相关Model的数据 同步到对话系统当中
        //        DialogueLua.SetVariable("remaining_time", timeController.RemainingTime);
    }
    /// <summary>
    /// 同步对话系统的数据到相关Model当中
    /// </summary>
    public void ApplyDialogueSystemData()
    {
        // timeController.RemainingTime = DialogueLua.GetVariable("remaining_time").AsInt;
    }


}
